package com.pig4cloud.pigx.common.websocket.subscribe.handler;

import com.pig4cloud.pigx.common.websocket.vo.WebSocketRes;

/**
 * WebSocket订阅处理器 todo 后续迭代
 *
 * @date 2022/8/27 21:11
 */
public interface WebSocketSubscribeHandler<T> {

	boolean support(String streamName);

	WebSocketRes SubscribeList();

	WebSocketRes subscribe();

	WebSocketRes unSubscribe();

	WebSocketRes ping();

	WebSocketRes setProperty(T data);
}
